package c2.cross.business.arena;

import c2.advanced.business.base.AdvancedDaoTemplate;
import c2.cross.business.arena.data.ArenaRoleFightForm;
import c2.cross.share.DbFacade4Cross;

public class ArenaFightFormDao extends AdvancedDaoTemplate {
    public ArenaFightFormDao(DbFacade4Cross root) {
        super(root);
    }

    public ArenaRoleFightForm get(String uid) {
        return mongo().findById(uid, ArenaRoleFightForm.class, ArenaRoleFightForm.COLLECTION);
    }

    public void save(ArenaRoleFightForm fightForm) {
        mongo().save(fightForm, ArenaRoleFightForm.COLLECTION);
    }
}
